[Top] [Prev] [Next] [Bottom]
[Contents]
SaTableBeginExt
Prints the beginning fragment of the HTML table element to the HTML stream. The HTML table element is not supported by all client browsers.
#include "SaRnHtml.h"
int SaTableBeginExt(int border,
int nowrap,
int align);
Argument
border
- An integer flag specifying whether to display borders for the table element. A non-zero value adds the HTML fragment:
BORDER
- to the HTML stream. Otherwise, the fragment is suppressed
nowrap
- An integer flag specifying whether to disable line wrapping. A non-zero value adds the HTML fragment:
NOWRAP
- to the HTML stream. Otherwise, the fragment is suppressed.
align
- An integer specifying which alignment fragment to use. Valid define constants and their associated HTML fragments are:
SA_NOALIGN
SA_TOP ALIGN="TOP"
SA_MIDDLE ALIGN="MIDDLE"
SA_BOTTOM ALIGN="BOTTOM"
SA_LEFT ALIGN="LEFT"
SA_CENTER ALIGN="CENTER"
SA_RIGHT ALIGN="RIGHT"
Return Values
Returns an integer with a value of 0.
Prints the beginning fragment of the HTML table element to the HTML stream. The HTML table element is not supported by all client browsers.
The code fragment:
SaTableBeginExt(1, 1, SA_MIDDLE);
will write:
<TABLE BORDER NOWRAP ALIGN="MIDDLE">
to the output stream
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.